<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>集合的遍历</title>
		<script type="text/javascript" src="../js/angular.min.js" ></script>
	</head>

	<body ng-app="myapp" ng-controller="myctrl">
		<select>
			<option ng-repeat="a in name">{{a}}</option>			
		</select>
	</body>
	<script>
		var myapp=angular.module("myapp",[]);
		myapp.controller("myctrl",function($scope){
			$scope.name=['张三','李四','王武']
		})
		
	</script>
	
</html>
